﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bohdan.Arch.Messaging.Special
{
    public class SimpleActionMessage : GeneralMessage
    {
        public override Guid TargetSubscriberId
        {
            get { return TimeMeasurerSubscriber._Id; }
        }

        public SimpleActionMessage()
        {
        }

        public SimpleActionMessage(Action action)
        {
            this.Action = action;
        }

        public Action Action { get; set; }
    }
}
